<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2018/8/28
 * Time: 20:53
 */
return [
    // 六十甲子
    'chinese_era' => [
        0 => '甲子',
        1 => '乙丑',
        2 => '丙寅',
        3 => '丁卯',
        4 => '戊辰',
        5 => '己巳',
        6 => '庚午',
        7 => '辛未',
        8 => '壬申',
        9 => '癸酉',
        10 => '甲戌',
        11 => '乙亥',
        12 => '丙子',
        13 => '丁丑',
        14 => '戊寅',
        15 => '己卯',
        16 => '庚辰',
        17 => '辛巳',
        18 => '壬午',
        19 => '癸未',
        20 => '甲申',
        21 => '乙酉',
        22 => '丙戌',
        23 => '丁亥',
        24 => '戊子',
        25 => '己丑',
        26 => '庚寅',
        27 => '辛卯',
        28 => '壬辰',
        29 => '癸巳',
        30 => '甲午',
        31 => '乙未',
        32 => '丙申',
        33 => '丁酉',
        34 => '戊戌',
        35 => '己亥',
        36 => '庚子',
        37 => '辛丑',
        38 => '壬寅',
        39 => '癸卯',
        40 => '甲辰',
        41 => '乙巳',
        42 => '丙午',
        43 => '丁未',
        44 => '戊申',
        45 => '己酉',
        46 => '庚戌',
        47 => '辛亥',
        48 => '壬子',
        49 => '癸丑',
        50 => '甲寅',
        51 => '乙卯',
        52 => '丙辰',
        53 => '丁巳',
        54 => '戊午',
        55 => '己未',
        56 => '庚申',
        57 => '辛酉',
        58 => '壬戌',
        59 => '癸亥',
    ],
    // 十天干
    'heavenly_stems' => ["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],
    // 十二地支
    'earthly_branches' => ["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],
    'wuxing' => [
        '甲'=>'木',
        '乙'=>'木',
        '丙'=>'火',
        '丁'=>'火',
        '戊'=>'土',
        '己'=>'土',
        '庚'=>'金',
        '辛'=>'金',
        '壬'=>'水',
        '癸'=>'水',
    ],
    // 五行阴阳
    'wuxing_yinyang' => [
        '甲'=>0,
        '乙'=>1,
        '丙'=>0,
        '丁'=>1,
        '戊'=>0,
        '己'=>1,
        '庚'=>0,
        '辛'=>1,
        '壬'=>0,
        '癸'=>1,
    ],
    // 十神表
    'shishen' => [
        '甲' => [
            '甲' => '比肩',
            '乙' => '劫财',
            '丙' => '偏印',
            '丁' => '正印',
            '戊' => '七杀',
            '己' => '正官',
            '庚' => '偏财',
            '辛' => '正财',
            '壬' => '食神',
            '癸' => '伤官',
        ],
        '乙' => [
            '甲' => '劫财',
            '乙' => '比肩',
            '丙' => '正印',
            '丁' => '偏印',
            '戊' => '正官',
            '己' => '七杀',
            '庚' => '正财',
            '辛' => '偏财',
            '壬' => '伤官',
            '癸' => '食神',
        ],
        '丙' => [
            '甲' => '食神',
            '乙' => '伤官',
            '丙' => '比肩',
            '丁' => '劫财',
            '戊' => '偏印',
            '己' => '正印',
            '庚' => '七杀',
            '辛' => '正官',
            '壬' => '偏财',
            '癸' => '正财',
        ],
        '丁' => [
            '甲' => '伤官',
            '乙' => '食神',
            '丙' => '劫财',
            '丁' => '比肩',
            '戊' => '正印',
            '己' => '偏印',
            '庚' => '正官',
            '辛' => '七杀',
            '壬' => '正财',
            '癸' => '偏财',
        ],
        '戊' => [
            '甲' => '偏财',
            '乙' => '正财',
            '丙' => '食神',
            '丁' => '伤官',
            '戊' => '比肩',
            '己' => '劫财',
            '庚' => '偏印',
            '辛' => '正印',
            '壬' => '七杀',
            '癸' => '正官',
        ],
        '己' => [
            '甲' => '正财',
            '乙' => '偏财',
            '丙' => '伤官',
            '丁' => '食神',
            '戊' => '劫财',
            '己' => '比肩',
            '庚' => '正印',
            '辛' => '偏印',
            '壬' => '正官',
            '癸' => '七杀',
        ],
        '庚' => [
            '甲' => '七杀',
            '乙' => '正官',
            '丙' => '偏财',
            '丁' => '正财',
            '戊' => '食神',
            '己' => '伤官',
            '庚' => '比肩',
            '辛' => '劫财',
            '壬' => '偏印',
            '癸' => '正印',
        ],
        '辛' => [
            '甲' => '正官',
            '乙' => '七杀',
            '丙' => '正财',
            '丁' => '偏财',
            '戊' => '伤官',
            '己' => '食神',
            '庚' => '劫财',
            '辛' => '比肩',
            '壬' => '正印',
            '癸' => '偏印',
        ],
        '壬' => [
            '甲' => '偏印',
            '乙' => '正印',
            '丙' => '七杀',
            '丁' => '正官',
            '戊' => '偏财',
            '己' => '正财',
            '庚' => '食神',
            '辛' => '伤官',
            '壬' => '比肩',
            '癸' => '劫财',
        ],
        '癸' => [
            '甲' => '正印',
            '乙' => '偏印',
            '丙' => '正官',
            '丁' => '七杀',
            '戊' => '正财',
            '己' => '偏财',
            '庚' => '伤官',
            '辛' => '食神',
            '壬' => '劫财',
            '癸' => '比肩',
        ],
    ],
    // 藏干
    'canggan' => [
        '亥' => ['壬', '甲'],
        '子' => ['癸'],
        '丑' => ['己', '癸', '辛'],
        '寅' => ['甲', '丙', '戊'],
        '卯' => ['乙'],
        '辰' => ['戊', '乙', '癸'],
        '巳' => ['丙', '戊', '庚'],
        '午' => ['丁', '己',],
        '未' => ['己', '丁', '乙'],
        '申' => ['庚', '壬', '戊'],
        '酉' => ['辛'],
        '戌' => ['戊', '辛', '丁']
    ],
    // 神煞
    'shensha' => [
        '华盖' => [
            '寅' => '戌',
            '午' => '戌',
            '戌' => '戌',
            '亥' => '未',
            '卯' => '未',
            '未' => '未',
            '申' => '辰',
            '子' => '辰',
            '辰' => '辰',
            '巳' => '丑',
            '酉' => '丑',
            '丑' => '丑',
        ],
        '桃花' => [
            '寅' => '卯',
            '午' => '卯',
            '戌' => '卯',
            '亥' => '子',
            '卯' => '子',
            '未' => '子',
            '申' => '酉',
            '子' => '酉',
            '辰' => '酉',
            '巳' => '午',
            '酉' => '午',
            '丑' => '午',
        ],
        '驿马' => [
            '寅' => '申',
            '午' => '申',
            '戌' => '申',
            '亥' => '巳',
            '卯' => '巳',
            '未' => '巳',
            '申' => '寅',
            '子' => '寅',
            '辰' => '寅',
            '巳' => '亥',
            '酉' => '亥',
            '丑' => '亥',
        ],
        '亡神' => [
            '寅' => '巳',
            '午' => '巳',
            '戌' => '巳',
            '亥' => '寅',
            '卯' => '寅',
            '未' => '寅',
            '申' => '亥',
            '子' => '亥',
            '辰' => '亥',
            '巳' => '申',
            '酉' => '申',
            '丑' => '申',
        ],
        '将星' => [
            '寅' => '午',
            '午' => '午',
            '戌' => '午',
            '亥' => '卯',
            '卯' => '卯',
            '未' => '卯',
            '申' => '子',
            '子' => '子',
            '辰' => '子',
            '巳' => '酉',
            '酉' => '酉',
            '丑' => '酉',
        ],

        '天乙贵人' => [
            '甲' => ['丑', '未'],
            '乙' => ['子', '申'],
            '丙' => ['酉', '亥'],
            '丁' => ['酉', '亥'],
            '戊' => ['丑', '未'],
            '己' => ['子', '申'],
            '庚' => ['丑', '未'],
            '辛' => ['寅', '午'],
            '壬' => ['巳', '卯'],
            '癸' => ['巳', '卯'],
        ],
        '天德贵人' => [
            '寅' => '丁',
            '卯' => '申',
            '辰' => '壬',
            '巳' => '辛',
            '午' => '亥',
            '未' => '甲',
            '申' => '癸',
            '酉' => '寅',
            '戌' => '丙',
            '亥' => '乙',
            '子' => '巳',
            '丑' => '庚',
        ],
        '文昌贵人' => [
            '甲' => '巳',
            '乙' => '午',
            '丙' => '申',
            '丁' => '酉',
            '戊' => '申',
            '己' => '酉',
            '庚' => '亥',
            '辛' => '子',
            '壬' => '寅',
            '癸' => '卯',
        ],
        '月德贵人' => [
            '申' => '壬',
            '子' => '壬',
            '辰' => '壬',
            '寅' => '丙',
            '午' => '丙',
            '戌' => '丙',
            '巳' => '庚',
            '酉' => '庚',
            '丑' => '庚',
            '亥' => '甲',
            '卯' => '甲',
            '未' => '甲',
        ],
        '金舆' => [
            '甲' => '辰',
            '乙' => '巳',
            '丙' => '未',
            '丁' => '申',
            '戊' => '未',
            '己' => '申',
            '庚' => '戌',
            '辛' => '亥',
            '壬' => '丑',
            '癸' => '寅',
        ],
        '红艳煞' => [
            '甲' => '午',
            '乙' => '申',
            '丙' => '寅',
            '丁' => '未',
            '戊' => '辰',
            '己' => '辰',
            '庚' => '申',
            '辛' => '酉',
            '壬' => '子',
            '癸' => '戌',
        ],
        '孤辰' => [
            '亥' => '寅',
            '子' => '寅',
            '丑' => '寅',
            '寅' => '巳',
            '卯' => '巳',
            '辰' => '巳',
            '巳' => '申',
            '午' => '申',
            '未' => '申',
            '申' => '亥',
            '酉' => '亥',
            '戌' => '亥',
        ],
        '寡宿' => [
            '亥' => '戌',
            '子' => '戌',
            '丑' => '戌',
            '寅' => '丑',
            '卯' => '丑',
            '辰' => '丑',
            '巳' => '辰',
            '午' => '辰',
            '未' => '辰',
            '申' => '未',
            '酉' => '未',
            '戌' => '未',
        ],
        '禄神' => [
            '甲' => '寅',
            '乙' => '卯',
            '丙' => '巳',
            '丁' => '午',
            '戊' => '巳',
            '己' => '午',
            '庚' => '申',
            '辛' => '酉',
            '壬' => '亥',
            '癸' => '子',
        ],
        '羊刃' => [
            '甲' => '卯',
            '乙' => '辰',
            '丙' => '午',
            '丁' => '未',
            '戊' => '午',
            '己' => '未',
            '庚' => '酉',
            '辛' => '戌',
            '壬' => '子',
            '癸' => '丑',
        ],
        '金神' => [
            '癸酉', '己巳', '乙丑'
        ],
    ],
    // 长生十二宫
    'changsheng' => [
        '甲' => [
            '子' => '沐浴',
            '丑' => '冠带',
            '寅' => '临官',
            '卯' => '帝旺',
            '辰' => '衰',
            '巳' => '病',
            '午' => '死',
            '未' => '墓',
            '申' => '绝',
            '酉' => '胎',
            '戌' => '养',
            '亥' => '长生',
        ],
        '乙' => [
            '巳' => '沐浴',
            '辰' => '冠带',
            '卯' => '临官',
            '寅' => '帝旺',
            '丑' => '衰',
            '子' => '病',
            '亥' => '死',
            '戌' => '墓',
            '酉' => '绝',
            '申' => '胎',
            '未' => '养',
            '午' => '长生',
        ],
        '丙' => [
            '子' => '胎',
            '丑' => '养',
            '寅' => '长生',
            '卯' => '沐浴',
            '辰' => '冠带',
            '巳' => '临官',
            '午' => '帝旺',
            '未' => '衰',
            '申' => '病',
            '酉' => '死',
            '戌' => '墓',
            '亥' => '绝',
        ],
        '丁' => [
            '申' => '沐浴',
            '未' => '冠带',
            '午' => '临官',
            '巳' => '帝旺',
            '辰' => '衰',
            '卯' => '病',
            '寅' => '死',
            '丑' => '墓',
            '子' => '绝',
            '亥' => '胎',
            '戌' => '养',
            '酉' => '长生',
        ],
        '戊' => [
            '子' => '胎',
            '丑' => '养',
            '寅' => '长生',
            '卯' => '沐浴',
            '辰' => '冠带',
            '巳' => '临官',
            '午' => '帝旺',
            '未' => '衰',
            '申' => '病',
            '酉' => '死',
            '戌' => '墓',
            '亥' => '绝',
        ],
        '己' => [
            '申' => '沐浴',
            '未' => '冠带',
            '午' => '临官',
            '巳' => '帝旺',
            '辰' => '衰',
            '卯' => '病',
            '寅' => '死',
            '丑' => '墓',
            '子' => '绝',
            '亥' => '胎',
            '戌' => '养',
            '酉' => '长生',
        ],
        '庚' => [
            '午' => '沐浴',
            '未' => '冠带',
            '申' => '临官',
            '酉' => '帝旺',
            '戌' => '衰',
            '亥' => '病',
            '子' => '死',
            '丑' => '墓',
            '寅' => '绝',
            '卯' => '胎',
            '辰' => '养',
            '巳' => '长生',
        ],
        '辛' => [
            '亥' => '沐浴',
            '戌' => '冠带',
            '酉' => '临官',
            '申' => '帝旺',
            '未' => '衰',
            '午' => '病',
            '巳' => '死',
            '辰' => '墓',
            '卯' => '绝',
            '寅' => '胎',
            '丑' => '养',
            '子' => '长生',
        ],
        '壬' => [
            '酉' => '沐浴',
            '戌' => '冠带',
            '亥' => '临官',
            '子' => '帝旺',
            '丑' => '衰',
            '寅' => '病',
            '卯' => '死',
            '辰' => '墓',
            '巳' => '绝',
            '午' => '胎',
            '未' => '养',
            '申' => '长生',
        ],
        '癸' => [
            '寅' => '沐浴',
            '丑' => '冠带',
            '子' => '临官',
            '亥' => '帝旺',
            '戌' => '衰',
            '酉' => '病',
            '申' => '死',
            '未' => '墓',
            '午' => '绝',
            '巳' => '胎',
            '辰' => '养',
            '卯' => '长生',
        ],
    ],
];
